export default (fieldType) => {
    const [htmltype, type] = fieldType;
    if((type === 'fieldCommonCheck' || type === 'fieldCommonChildCheck')){
        return `browser${type}`;
    }else if (htmltype === 'input' || htmltype === 'select' || htmltype === 'upload' ) {
        return type;
    } else if (htmltype === 'check') {
        return htmltype;
    } else if (htmltype === 'browser') {
        return `browser${type.value}`;
    } 
    return undefined;
}